package com.isnotlocus.gulimail.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.isnotlocus.common.utils.PageUtils;
import com.isnotlocus.gulimail.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author IsnotLocus
 * @email sunlightcs@gmail.com
 * @date 2020-07-16 17:00:57
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> ListWithTree();

    int deleteByIds(Long[] catIds);

    Long[] getParentCategoryPath(Long categoryId);
}
